/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 */
class Tools220054070111{
    public static int sum(int ...a){
        int sum = 0;
        for (int i = 0; i < a.length; i++) {
            sum = sum +a[i];
        }
        return sum;
    }
}
public class ToolsTest220054070111 {
    public static void main(String[] args) {
        System.out.println( Tools220054070111.sum(7,5,3));
        int sum1=Tools220054070111.sum(5,6,7);
        System.out.println(sum1);
    }
}